﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.Factory>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	公司详情
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>公司详情</h2>

    <fieldset>
        <legend>属性</legend>
        
        <div class="display-label">公司编号</div>
        <div class="display-field"><%= Model.Id %></div>
        
        <div class="display-label">公司名称</div>
        <div class="display-field"><%= Model.Name %></div>
        
        <div class="display-label">公司描述</div>
        <div class="display-field"><%= Model.Description %></div>
        
        <div class="display-label">创建时间</div>
        <div class="display-field"><%= String.Format("{0:g}", Model.CreateTime) %></div>
        
        <div class="display-label">修改时间</div>
        <div class="display-field"><%= String.Format("{0:g}", Model.ModifyTime) %></div>
        
    </fieldset>
    <p>

        <%= Html.ActionLink("编辑", "Edit", new { id=Model.Id }) %> |
        <%= Html.ActionLink("返回列表", "Index") %>
    </p>

</asp:Content>

